<html>
<head>
<meta http-equiv="Content-Type" content="test/html; charset=utf-8" />
<title>汪骏阳</title>
<style type="text/css">
input {width:400px; height:26px;}
select {width:100px; height:26px;}
</style>
</head>
   <body>
<form action = "list" method = "POST">
<select name="selected_key">
<option>_id</option>
<option>name</option>
<option>uploader</option>
<option>year</option>
<option>grade</option>
<option>url</option>

</select>
: <input type = "text" name = "value" /><p></p>
	 <p><input type = "submit" value = "查询" /></p>
</form>
<table border="1" margin="auto">
<tr>
  <td>_id</td>
  <td>name</td>
  <td>uploader</td>
  <td>year</td>
  <td>grade</td>
  <td>url</td>
</tr>
{%for line in data%}
<tr>
	<td>{{line['_id']}}</td>
	<td>{{line['name']}}</td>
	<td>{{line['uploader']}}</td>
	<td>{{line['year']}}</td>
	<td>{{line['grade']}}</td>
	<td>{{line['url']}}</td>
	<td><a href='{{line['url']}}'>查询</a></td>
</tr>
{%endfor%}
</table>
   </body>
</html>
